package com.zhanglijie.improve.unsafe.domain;

/**
 * @author zhanglijie
 * @version 1.0
 * @since 1.1.0 2022/8/25 0025 22:38
 */
public class Man {
    private String name;
    private int age;

    public Man(String name, int age) {
        this.name = name;
        this.age = age;
        System.out.println("man constructor args");
    }

    public Man() {
        System.out.println("man constructor null");
    }
    static {
        System.out.println("man static code");
    }

    @Override
    public String toString() {
        return "Man{" + "name='" + name + '\'' + ", age=" + age + '}';
    }

}
